﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace StudentManagementSystem
{
    public class School
    {
        public string Name { get; set; }
        public string Address { get; set; }
        public List<Class> Classes { get; set; }

        public School()
        {
            Classes = new List<Class>();
        }
    }

    public class Class
    {
        public string Name { get; set; }
        public List<Student> Students { get; set; }

        public Class()
        {
            Students = new List<Student>();
        }
    }

    public class Student
    {
        public string Name { get; set; }
        public int Age { get; set; }
        public string Gender { get; set; }
        public string Class { get; set; }
    }
}
